fix(ci): drop --full-auto arg the codex CLI no longer accepts - #83
Merged
Merged
Conversation
Codex Autopilot has failed on every scheduled run since 2026-08-07 (runs 31191150738, 31402707055): the unpinned openai/codex-action@v1 installs the latest codex CLI, and a release between Aug 5 and Aug 7 removed the --full-auto flag from `codex exec`, so the step exits immediately with "error: unexpected argument '--full-auto' found" (exit code 2). The same commit and workflow succeeded on Aug 5, so the regression is in the CLI, not the repo. The flag is redundant here: the action already runs with sandbox: workspace-write, which is what --full-auto implied. Drop the codex-args input entirely. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vi3SmxxDFvyF9t5XE8iMm9
PetrefiedThunder
marked this pull request as ready for review
August 11, 2026 09:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
codex-args: '["--full-auto"]'from.github/workflows/codex-autopilot.yml— one deleted line.Why
Codex Autopilot has failed on every scheduled run that reached the Codex step since 2026-08-07 (run 31191150738, run 31402707055). The failing step's logs show:
The workflow uses the unpinned
openai/codex-action@v1tag, which installs the latest codex CLI. A CLI release between Aug 5 (last green run, same repo commite7a4855) and Aug 7 (first arg-rejection failure, identical commit and workflow) removed--full-autofromcodex exec. Since nothing in the repo changed between the green and red runs, the regression is in the CLI, not this repo.The flag is redundant here anyway: the action already passes
sandbox: workspace-write, which is what--full-autoimplied.Note: the workflow's "Explain Codex Action failure" step blames
OPENAI_API_KEYfor this class of failure; the key was present and never exercised — don't be misled by that line in past logs.Verification
CODEX_ARGS: ["--full-auto"]as the source of the rejected argument; baseline pytest and the secret-validation step passed before the crash in both.Alternative considered
Pinning the codex CLI/action version would also fix this and would prevent future drift, but it's a policy choice about how this workflow tracks upstream — left to the maintainers. This PR is the minimal change that restores the scheduled runs.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Vi3SmxxDFvyF9t5XE8iMm9
Generated by Claude Code